Goto

Collaborating Authors

 function call


Evolving Pixel-Based Game Agent: Generalizable Strategy Learning from Open-World Exploration

arXiv.org Artificial Intelligence

Enabling agents to autonomously master complex, open-ended environments with minimal human preparation is a critical step toward general-purpose agents. However, existing approaches often rely on labor-intensive task-specific priors, e.g., manually annotating interactive elements, predefining action spaces, or engineering rewards and workflows, which become brittle as game rules, units, or UI evolve over time, especially in strategy games with large, dynamic state spaces. To eliminate this dependency, we propose the Evolving Pixel-Based Game Agent (EPGA), a framework that enables autonomous learning in complex, open-ended strategy games directly from raw pixels. EPGA continuously builds and updates its understanding of the game by discovering interactive elements, maintaining contextual and experiential memory, tracking long-horizon game progress, and adaptively refining its action strategy. These capabilities are realized through four synergistic components: structured memory for contextual recall and experience generalization, con- tinual object discovery for identifying novel interactive elements, confidence-guided action updating for balancing exploration and exploitation, and game-process tracking for phase-aware planning over extended horizons. Experiments on two challenging strategy games, i.e., Slay the Spire and Civilization V, demonstrate that EPGA consistently outperforms strong baselines that rely on manually curated task-specific priors, achieving a top in-game score of 109 in Slay the Spire, while maintaining an execution- responsive rate above 98.73%. Moreover, EPGA exhibits robust adaptation to unseen games and sustained learning in non- stationary environments, demonstrating its potential as a scalable paradigm for long-horizon autonomous agents.


Uncertainty Quantification for LLM Function-Calling

arXiv.org Artificial Intelligence

Large Language Models (LLMs) are increasingly deployed to autonomously solve real-world tasks. A key ingredient for this is the LLM Function-Calling paradigm, a widely used approach for equipping LLMs with tool-use capabilities. However, an LLM calling functions incorrectly can have severe implications, especially when their effects are irreversible, e.g., transferring money or deleting data. Hence, it is of paramount importance to consider the LLM's confidence that a function call solves the task correctly prior to executing it. Uncertainty Quantification (UQ) methods can be used to quantify this confidence and prevent potentially incorrect function calls. In this work, we present what is, to our knowledge, the first evaluation of UQ methods for LLM Function-Calling (FC). While multi-sample UQ methods, such as Semantic Entropy, show strong performance for natural language Q\&A tasks, we find that in the FC setting the entropy-based multi-sample methods we evaluate offer no clear advantage over simple single-sample UQ methods. Additionally, we find that the particularities of FC outputs can be leveraged to improve the performance of existing UQ methods in this setting. Specifically, multi-sample UQ methods benefit from clustering FC outputs based on their abstract syntax tree parsing, while for single-sample UQ methods, restricting the logit-based score to semantically meaningful tokens leaves discrimination essentially unchanged but improves calibration and, by smaller margins, the utility of the score under abstention.


ToolRACER: A Robust Agentic Conversation Emulation Resource for Agent Training and Evaluation

arXiv.org Artificial Intelligence

Task-oriented conversational agents remain fragile under real world conversation scenarios as they rarely follow a predictable script, especially when users exhibit non-cooperative behavior. Existing function-calling benchmarks often emphasize successful, cooperative interactions and underrepresent adversarial conversation trajectories, thereby limiting the training resources available for developing robust agents. We present ToolRACER, a synthetic data generation pipeline that coordinates user, assistant and tool emulation models to generate and validated multi-turn interactions between a user and an agent. Using ToolRACER, we construct ToolRACERBench a robust multi-turn conversation benchmark spanning six domains, ranging over 55 varied personas, generating a validated corpus of 5.6K conversation trajectories, with approximately 66\% of conversations containing failure-prone conversation scenarios. We inject adversarial behaviors, producing validated conversational interaction trajectories that capture realistic, robust scenarios. We evaluate models trained on ToolRACERBench against internal benchmarks, as well as on function calling benchmarks such as $τ^2$-bench, BFCLv3 and ACEBench to evaluate agentic accuracy and robustness. Models trained on ToolRACERBench improve end to end agentic accuracy across $τ^2$-bench and ACEBench, demonstrating significant gains when mixed with in-domain dataset in small language models for agent capability tasks.


Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs

arXiv.org Artificial Intelligence

Function calling, also known as tool use, is a core capability of modern LLM agents but is typically constrained by synchronous execution semantics. Under these semantics, LLM decoding is blocked until each function call completes, resulting in increasing end-to-end latency. In this work, we introduce AsyncFC, a pure execution-layer framework that decouples LLM decoding from function execution, enabling overlap between model decoding and function execution as well as inter-function parallelism when dependencies permit. AsyncFC layers over existing models and unmodified function implementations, requiring no fine-tuning or changes to the standard synchronous function-calling protocol. On coding tasks, AsyncFC achieves a $1.4\times$ end-to-end speedup while preserving task accuracy. Furthermore, these results reveal that LLMs possess a native capability to reason over symbolic futures that represent unresolved execution results, enabling an asynchronous paradigm for model-tool interaction.


The "I Don't Know" Filter: Enhancing Agentic Reliability in Function Calling

arXiv.org Artificial Intelligence

The language models that underpin agents have seen a rapid rise in performance on function calling benchmarks. However, the metrics used in the training and evaluation of these models often encourage models to make positive claims even when the answer is uncertain, leading to hallucinations. Such hallucinations can be disastrous when language models are trusted to use function calls to make decisions in high stakes applications. To that end, we propose an agent evaluation metric that takes into account the negative outcomes associated with incorrect function calls. Further, to catch hallucinations before they can cause harm, we propose a lightweight trainable filter that can quantify a language model's uncertainty and remove potentially harmful function calls. By training that filter to detect and suppress uncertain function calls without modifying the underlying model, we demonstrate a practical path toward agents that know when to say "I don't know," a property we argue is essential to production reliability.


Evaluating Hallucinations in Domain-Adapted Large Language Models

arXiv.org Artificial Intelligence

ABSTRACT This study investigates the phenomenon of hallucinations in domain-adapted Large Language Models (LLMs), focusing on the fine-tuning of the Llama-2 model with the Lamini dataset. Hallucinations, or the generation of nonsensical or unfaithful content by LLMs, pose a significant challenge, especially when these models are fine-tuned with domain-specific data. Our methodology involves a series of experiments testing memorization, recall, and reasoning capabilities of the fine-tuned LLM, comparing its performance on novel question-answer pairs and domain-specific information. We found that while the model shows proficiency in tasks similar to its training data, its capability to accurately reason about and recall new domain-specific information remains limited, leading to instances of hallucination. The model demonstrates a tendency to provide correct answers with extra information, suggesting an inclination toward over-generation. These results suggest important limitations of fine-tuning-only approaches for mitigating hallucinations when adapting LLMs to specialized domains and underscores the need for more robust methods in adapting LLMs to specialized domains. The study also provides insights into the varying performance of LLMs on different types of information, revealing a comparative weakness in handling domain-specific queries. 1 INTRODUCTION Large Language Models (LLMs) such as ChatGPT (OpenAI, 2023a), Bard (Google, 2023), and Llama-2 (Touvron et al., 2023) have become ubiquitous tools for a multitude of tasks across various domains. Tasks like summarization and question-answering on cloze-prompts have shown high performance, where language models' facilitation of natural language can deceive humans into believing the outputs were also from humans (Gudibande et al., 2023) (Bai et al., 2022). With the boom of artificial intelligence, business organizations have utilized open-source LLMs through fine-tuning on organization-specific information as a tool for internal and external use (Arefeen et al., 2023). With growing popularity of LLMs, new challenges arise.


From Self-Evolving Synthetic Data to Verifiable-Reward RL: Post-Training Multi-turn Interactive Tool-Using Agents

arXiv.org Artificial Intelligence

Interactive tool-using agents must solve real-world tasks via multi-turn interaction with both humans and external environments, requiring dialogue state tracking, multi-step tool execution, while following complex instructions. Post-training such agents is challenging because synthesis for high-quality multi-turn tool-use data is difficult to scale, and reinforcement learning (RL) could face noisy signals caused by user simulation, leading to degraded training efficiency. We propose a unified framework that combines a self-evolving data agent with verifier-based RL. Our system, EigenData, is a hierarchical multi-agent engine that synthesizes tool-grounded dialogues together with executable per-instance checkers, and improves generation reliability via closed-loop self-evolving process that updates prompts and workflow. Building on the synthetic data, we develop an RL recipe that first fine-tunes the user model and then applies GRPO-style training with trajectory-level group-relative advantages and dynamic filtering, yielding consistent improvements beyond SFT. Evaluated on tau^2-bench, our best model reaches 73.0% pass^1 on Airline and 98.3% pass^1 on Telecom, matching or exceeding frontier models. Overall, our results suggest a scalable pathway for bootstrapping complex tool-using behaviors without expensive human annotation.